package cn.com.shopec.erp.stock.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
 * @ClassName: StockOut
 * @Description: 出库采购单关系实体类
 * @author: zengxuezhou
 * @date: 2016年11月28日 下午2:27:01
 */
@Entity
@Table(name = "TBL_STOCKOUT_PURINFO")
public class StockOutPurInfo implements Serializable {

	private static final long serialVersionUID = 4583672988592384403L;

	/** id **/
	private String id;

	/** 出库单号 **/
	private String stockOutNo;
	
	/** 出库编号 **/
	private String stockOutProductId;
	
	/** 采购单号 **/
	private String purNo;
	
	/** 出库单类型 **/
	private Integer stockOutType;
	
	/** 出库单类型编号 **/
	private String stockOutTypeNo;
	
	/** 出库单商品主键id **/
	private String prodNo;

	/** 采购单库存关系表主键id **/
	private String stockPurId;

	/** 出库数量 **/
	private Long stockoutQuantity;
	
	
	
	@Id
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false, length = 32)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "STOCKOUT_NO")
	public String getStockOutNo() {
		return stockOutNo;
	}

	public void setStockOutNo(String stockOutNo) {
		this.stockOutNo = stockOutNo;
	}

	@Column(name = "STOCK_PUR_ID")
	public String getStockPurId() {
		return stockPurId;
	}

	public void setStockPurId(String stockPurId) {
		this.stockPurId = stockPurId;
	}

	@Column(name = "STOCKOUT_QUANTITY")
	public Long getStockoutQuantity() {
		return stockoutQuantity;
	}

	public void setStockoutQuantity(Long stockoutQuantity) {
		this.stockoutQuantity = stockoutQuantity;
	}

	@Column(name = "PUR_NO")
	public String getPurNo() {
		return purNo;
	}

	public void setPurNo(String purNo) {
		this.purNo = purNo;
	}

	@Column(name = "STOCKOUT_TYPE")
	public Integer getStockOutType() {
		return stockOutType;
	}

	public void setStockOutType(Integer stockOutType) {
		this.stockOutType = stockOutType;
	}

	@Column(name = "STOCKOUT_TYPE_NO")
	public String getStockOutTypeNo() {
		return stockOutTypeNo;
	}

	public void setStockOutTypeNo(String stockOutTypeNo) {
		this.stockOutTypeNo = stockOutTypeNo;
	}

	@Column(name = "PROD_NO")
	public String getProdNo() {
		return prodNo;
	}

	public void setProdNo(String prodNo) {
		this.prodNo = prodNo;
	}

	@Column(name = "STOCKOUT_PRODUCT_ID")
	public String getStockOutProductId() {
		return stockOutProductId;
	}

	public void setStockOutProductId(String stockOutProductId) {
		this.stockOutProductId = stockOutProductId;
	}

	
}